<template>
  <div>
    <el-dialog
      title="提示"
      :visible="isShow"
      width="30%"
      @update:visible="value=> $emit('update:isShow', value)"
    >
      <span>是否删除数据</span>
      <span slot="footer" class="dialog-footer">
        <el-button @click="close">取 消</el-button>
        <el-button type="primary" @click="delData">确 定</el-button>
      </span>
    </el-dialog>
  </div>
</template>
<script>
import { handelDeleteById } from '../common/tools';
export default {
  name: 'DelModule',
  props: {
    isShow: {
        type: Boolean,
        default: () => false
    },
  },
  data() {
    return {
    };
  },
  created() {
  },
  mounted() {
  },
  methods: {
    close() {
      this.$emit('close');
    },
    delData() {
			this.$emit('delRow', false);
    }
  },
};
</script>
<style lang="scss" scoped>

</style>

